﻿using System.ComponentModel;

namespace Astronergy.WebApi.Dto
{
    /// <summary>
    /// 返回code.
    /// </summary>
    public enum ResponseCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        [Description("成功")]
        Success = 1,
        /// <summary>
        /// 参数错误
        /// </summary>
        [Description("参数错误")]
        ParameterError = 10000,
        /// <summary>
        /// 参数格式错误
        /// </summary>
        [Description("失败")]
        Error = 0,

    }
}
